<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改妙手虾皮订单信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-MsOrder-edit" th:object="${msOrder}">
            <input name="orderId" th:field="*{orderId}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单id：</label>
                <div class="col-sm-8">
                    <input name="opOrderId" th:field="*{opOrderId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">店铺id：</label>
                <div class="col-sm-8">
                    <input name="shopId" th:field="*{shopId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台名称：</label>
                <div class="col-sm-8">
                    <input name="platform" th:field="*{platform}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单号：</label>
                <div class="col-sm-8">
                    <input name="platformOrderSn" th:field="*{platformOrderSn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单号：</label>
                <div class="col-sm-8">
                    <input name="platformOrderId" th:field="*{platformOrderId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单号IUID：</label>
                <div class="col-sm-8">
                    <input name="platformOrderUuid" th:field="*{platformOrderUuid}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">站点名称：</label>
                <div class="col-sm-8">
                    <input name="site" th:field="*{site}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">币种：</label>
                <div class="col-sm-8">
                    <input name="currency" th:field="*{currency}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单金额：</label>
                <div class="col-sm-8">
                    <input name="orderAmount" th:field="*{orderAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品金额：</label>
                <div class="col-sm-8">
                    <input name="productAmount" th:field="*{productAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">折扣金额：</label>
                <div class="col-sm-8">
                    <input name="discountAmount" th:field="*{discountAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预计物流费用：</label>
                <div class="col-sm-8">
                    <input name="estimatedShippingFee" th:field="*{estimatedShippingFee}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">实际物流费用：</label>
                <div class="col-sm-8">
                    <input name="actualShippingCost" th:field="*{actualShippingCost}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">支付金额：</label>
                <div class="col-sm-8">
                    <input name="payAmount" th:field="*{payAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台保管金额：</label>
                <div class="col-sm-8">
                    <input name="escrowAmount" th:field="*{escrowAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">佣金：</label>
                <div class="col-sm-8">
                    <input name="commissionFee" th:field="*{commissionFee}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">返还金额：</label>
                <div class="col-sm-8">
                    <input name="refundAmount" th:field="*{refundAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">支付方式：</label>
                <div class="col-sm-8">
                    <input name="paymentMethod" th:field="*{paymentMethod}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">支付方式：</label>
                <div class="col-sm-8">
                    <input name="paymentMethodInt" th:field="*{paymentMethodInt}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流渠道：</label>
                <div class="col-sm-8">
                    <input name="logisticsChannel" th:field="*{logisticsChannel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流公司名称：</label>
                <div class="col-sm-8">
                    <input name="logisticsCompany" th:field="*{logisticsCompany}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物流方式：</label>
                <div class="col-sm-8">
                    <input name="shippingMethod" th:field="*{shippingMethod}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">追踪单号：</label>
                <div class="col-sm-8">
                    <input name="trackingNo" th:field="*{trackingNo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单开始时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtOrderStart" th:value="${#dates.format(msOrder.gmtOrderStart, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单修改时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtOrderModified" th:value="${#dates.format(msOrder.gmtOrderModified, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单支付时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtPay" th:value="${#dates.format(msOrder.gmtPay, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最后收货时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtLastDelivery" th:value="${#dates.format(msOrder.gmtLastDelivery, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收货时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtDelivery" th:value="${#dates.format(msOrder.gmtDelivery, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">返还时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtRefund" th:value="${#dates.format(msOrder.gmtRefund, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单完成时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtFinish" th:value="${#dates.format(msOrder.gmtFinish, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家id：</label>
                <div class="col-sm-8">
                    <input name="buyerId" th:field="*{buyerId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家姓名：</label>
                <div class="col-sm-8">
                    <input name="buyerUsername" th:field="*{buyerUsername}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家姓名md5：</label>
                <div class="col-sm-8">
                    <input name="buyerNameSmd5" th:field="*{buyerNameSmd5}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家手机号md5：</label>
                <div class="col-sm-8">
                    <input name="buyerPhoneSmd5" th:field="*{buyerPhoneSmd5}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家国家：</label>
                <div class="col-sm-8">
                    <input name="buyerCountry" th:field="*{buyerCountry}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家省份：</label>
                <div class="col-sm-8">
                    <input name="buyerProvince" th:field="*{buyerProvince}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家邮编：</label>
                <div class="col-sm-8">
                    <input name="buyerZipcode" th:field="*{buyerZipcode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家留言：</label>
                <div class="col-sm-8">
                    <input name="buyerMessage" th:field="*{buyerMessage}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家选择的物流方式：</label>
                <div class="col-sm-8">
                    <input name="buyerSelectLogistics" th:field="*{buyerSelectLogistics}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">卖家备注：</label>
                <div class="col-sm-8">
                    <input name="sellerNote" th:field="*{sellerNote}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品数量：</label>
                <div class="col-sm-8">
                    <input name="itemQuantity" th:field="*{itemQuantity}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品种类：</label>
                <div class="col-sm-8">
                    <input name="itemVariety" th:field="*{itemVariety}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否COD：</label>
                <div class="col-sm-8">
                    <input name="isCod" th:field="*{isCod}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否俄罗斯非全名：</label>
                <div class="col-sm-8">
                    <input name="isRussianBuyerNotFullname" th:field="*{isRussianBuyerNotFullname}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否需要发票：</label>
                <div class="col-sm-8">
                    <input name="isNeedInvoice" th:field="*{isNeedInvoice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否隔离件：</label>
                <div class="col-sm-8">
                    <input name="isIsolation" th:field="*{isIsolation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否删除：</label>
                <div class="col-sm-8">
                    <input name="isDelete" th:field="*{isDelete}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否有海关描述：</label>
                <div class="col-sm-8">
                    <input name="hasCustomsDeclaration" th:field="*{hasCustomsDeclaration}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台描述：</label>
                <div class="col-sm-8">
                    <input name="appFlag" th:field="*{appFlag}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台备注：</label>
                <div class="col-sm-8">
                    <input name="appNote" th:field="*{appNote}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">取消人：</label>
                <div class="col-sm-8">
                    <input name="cancelBy" th:field="*{cancelBy}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">取消原因：</label>
                <div class="col-sm-8">
                    <input name="cancelReason" th:field="*{cancelReason}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">取消原因扩展信息：</label>
                <div class="col-sm-8">
                    <input name="cancelReasonExt" th:field="*{cancelReasonExt}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否cb：</label>
                <div class="col-sm-8">
                    <input name="isCb" th:field="*{isCb}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否mock：</label>
                <div class="col-sm-8">
                    <input name="isMock" th:field="*{isMock}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">isApplyTrackingNoFail：</label>
                <div class="col-sm-8">
                    <input name="isApplyTrackingNoFail" th:field="*{isApplyTrackingNoFail}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">仓库编码：</label>
                <div class="col-sm-8">
                    <input name="warehouseCode" th:field="*{warehouseCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否自动发货：</label>
                <div class="col-sm-8">
                    <input name="isAutoPostForwarder" th:field="*{isAutoPostForwarder}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">fmTn：</label>
                <div class="col-sm-8">
                    <input name="fmTn" th:field="*{fmTn}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">运货单方式：</label>
                <div class="col-sm-8">
                    <input name="waybillOssPath" th:field="*{waybillOssPath}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台运货单格式：</label>
                <div class="col-sm-8">
                    <input name="platformWaybillFormat" th:field="*{platformWaybillFormat}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单创建时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtCreate" th:value="${#dates.format(msOrder.gmtCreate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单修改时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="gmtModified" th:value="${#dates.format(msOrder.gmtModified, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">汇率：</label>
                <div class="col-sm-8">
                    <input name="exchangeRate" th:field="*{exchangeRate}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">折扣金额：</label>
                <div class="col-sm-8">
                    <input name="discountedAmount" th:field="*{discountedAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购金额：</label>
                <div class="col-sm-8">
                    <input name="purchasePrice" th:field="*{purchasePrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">买家承担运费：</label>
                <div class="col-sm-8">
                    <input name="buyerPaidShippingFee" th:field="*{buyerPaidShippingFee}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">采购金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyPurchasePrice" th:field="*{cnyPurchasePrice}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台保管金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyEscrowAmount" th:field="*{cnyEscrowAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyOrderAmount" th:field="*{cnyOrderAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">商品金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyProductAmount" th:field="*{cnyProductAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">支付金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyPayamount" th:field="*{cnyPayamount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">折扣金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyDiscountedAmount" th:field="*{cnyDiscountedAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">折扣金额-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyDiscountAmount" th:field="*{cnyDiscountAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">估算运费-人民币：</label>
                <div class="col-sm-8">
                    <input name="cnyEstimatedShippingFee" th:field="*{cnyEstimatedShippingFee}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单详情链接：</label>
                <div class="col-sm-8">
                    <input name="platformOrderDetailUrl" th:field="*{platformOrderDetailUrl}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">平台订单状态描述：</label>
                <div class="col-sm-8">
                    <input name="appOrderStatusText" th:field="*{appOrderStatusText}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">取消原因：</label>
                <div class="col-sm-8">
                    <input name="buyerCountryName" th:field="*{buyerCountryName}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">公开聊天链接：</label>
                <div class="col-sm-8">
                    <input name="openEarthChatUrl" th:field="*{openEarthChatUrl}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "ms/MsOrder";
        $("#form-MsOrder-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-MsOrder-edit').serialize());
            }
        }

        $("input[name='gmtOrderStart']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtOrderModified']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtPay']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtLastDelivery']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtDelivery']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtRefund']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtFinish']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtCreate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='gmtModified']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>